home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / gift4b12.zip / PCBVIEW.BAT < prev    next >
DOS Batch File  |  1992-01-25  |  401b  |  20 lines

  1. @echo off
  2. >pcbview.txt
  3. if %@ext[%1] == gif goto gif
  4. if %@ext[%1] == zip goto zip
  5. goto end
  6.  
  7. rem -- It would be really nice if CDC would pass the com port number
  8. rem -- on the command line to PCBVIEW.BAT and PCBTEST.BAT, but until
  9. rem -- they do, you need to put the correct port number after the /P:x
  10. rem -- parameter.
  11. :gif
  12. giftest %1 /p:1
  13. goto end
  14.  
  15. :zip
  16. ziptv -p1 %1
  17. goto end
  18.  
  19. :end
  20.